package com.zgjkhis.modules.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author yxl
 * @Description
 * @Date 2022/5/16 15:00
 **/
@Data
@ApiModel("盘点详情")
public class InventoryDetailReq {

    @NotNull(message = "盘点详情id不能为null")
    @ApiModelProperty(value = "唯一标识")
    private Long id;

    @NotNull(message = "盘点实际库存不能为null")
    @Min(value = 0, message = "盘点实际库存不能小于0")
    @ApiModelProperty(value = "盘点实际库存")
    private Double stockReal;

}
